package top.wintp.offlinedataanalysis;

import cn.hutool.core.date.DateUtil;
import top.wintp.offlinedataanalysis.anlyser.dim.StatsCommonDimension;
import top.wintp.offlinedataanalysis.anlyser.dim.StatsUserDimension;
import top.wintp.offlinedataanalysis.anlyser.dim.base.BrowserDimension;
import top.wintp.offlinedataanalysis.anlyser.dim.base.KpiDimension;
import top.wintp.offlinedataanalysis.anlyser.dim.base.PlatformDimension;

/**
 * @author: pyfysf
 * <p>
 * @qq: 337081267
 * <p>
 * @CSDN: http://blog.csdn.net/pyfysf
 * <p>
 * @blog: http://wintp.top
 * <p>
 * @email: pyfysf@163.com
 * <p>
 * @time: 2019/9/4
 */
public class TTE {

    public static void main(String[] args) {
        String date = "20190801";
        //    转换为开始时间
        long startTime = DateUtil.parse(date).getTime();
        //    添加一天的数据
        long endTime = DateUtil.offsetDay(DateUtil.parse(date), 1).getTime();

        System.out.println(startTime);
        System.out.println(endTime);

        System.out.println(DateUtil.parse(date).toString("yyyyMMdd"));
        System.out.println(DateUtil.offsetDay(DateUtil.parse(date), 1).toString("yyyyMMdd"));

        System.out.println("TTE.class.getSimpleName() = " + TTE.class.getCanonicalName());
    }


}
